package com.runfast.waimai.dao.model;

import java.io.Serializable;
import java.util.Date;

public class RunfastBusinessComment implements Serializable {
    private Integer id;

    private Integer businessid;//商家名称id

    private String businessname;//商家名称

    private Double cost;//金额

    private Date createtime;//评价时间

    private Integer delicerid;//配送人id

    private String delicername;//配送人

    private Date delicertime;//配送时间

    private Date ordertime;//下单时间

    private Double score;//打分


    private Integer userid;//评论人id

    private String username;//评论人名称

    private Integer goodssellid;//商品id

    private String goodssellname;//商品名称

    private String ordercode;//订单号

    private String pic;//

    private Integer goodssellrecordid;//

    private Integer agentid;//代理商名称：id

    private String agentname;//代理商名称：

    private String shangstr;//评论选项

    private Date feedtime;//回复时间

    private String recontent;//追评

    private Date recreatetime;//追评时间

    private String content;//评论内容

    private String feedback;//回复内容

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public RunfastBusinessComment withId(Integer id) {
        this.setId(id);
        return this;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBusinessid() {
        return businessid;
    }

    public RunfastBusinessComment withBusinessid(Integer businessid) {
        this.setBusinessid(businessid);
        return this;
    }

    public void setBusinessid(Integer businessid) {
        this.businessid = businessid;
    }

    public String getBusinessname() {
        return businessname;
    }

    public RunfastBusinessComment withBusinessname(String businessname) {
        this.setBusinessname(businessname);
        return this;
    }

    public void setBusinessname(String businessname) {
        this.businessname = businessname == null ? null : businessname.trim();
    }

    public Double getCost() {
        return cost;
    }

    public RunfastBusinessComment withCost(Double cost) {
        this.setCost(cost);
        return this;
    }

    public void setCost(Double cost) {
        this.cost = cost;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public RunfastBusinessComment withCreatetime(Date createtime) {
        this.setCreatetime(createtime);
        return this;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getDelicerid() {
        return delicerid;
    }

    public RunfastBusinessComment withDelicerid(Integer delicerid) {
        this.setDelicerid(delicerid);
        return this;
    }

    public void setDelicerid(Integer delicerid) {
        this.delicerid = delicerid;
    }

    public String getDelicername() {
        return delicername;
    }

    public RunfastBusinessComment withDelicername(String delicername) {
        this.setDelicername(delicername);
        return this;
    }

    public void setDelicername(String delicername) {
        this.delicername = delicername == null ? null : delicername.trim();
    }

    public Date getDelicertime() {
        return delicertime;
    }

    public RunfastBusinessComment withDelicertime(Date delicertime) {
        this.setDelicertime(delicertime);
        return this;
    }

    public void setDelicertime(Date delicertime) {
        this.delicertime = delicertime;
    }

    public Date getOrdertime() {
        return ordertime;
    }

    public RunfastBusinessComment withOrdertime(Date ordertime) {
        this.setOrdertime(ordertime);
        return this;
    }

    public void setOrdertime(Date ordertime) {
        this.ordertime = ordertime;
    }

    public Double getScore() {
        return score;
    }

    public RunfastBusinessComment withScore(Double score) {
        this.setScore(score);
        return this;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    public Integer getUserid() {
        return userid;
    }

    public RunfastBusinessComment withUserid(Integer userid) {
        this.setUserid(userid);
        return this;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public RunfastBusinessComment withUsername(String username) {
        this.setUsername(username);
        return this;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public Integer getGoodssellid() {
        return goodssellid;
    }

    public RunfastBusinessComment withGoodssellid(Integer goodssellid) {
        this.setGoodssellid(goodssellid);
        return this;
    }

    public void setGoodssellid(Integer goodssellid) {
        this.goodssellid = goodssellid;
    }

    public String getGoodssellname() {
        return goodssellname;
    }

    public RunfastBusinessComment withGoodssellname(String goodssellname) {
        this.setGoodssellname(goodssellname);
        return this;
    }

    public void setGoodssellname(String goodssellname) {
        this.goodssellname = goodssellname == null ? null : goodssellname.trim();
    }

    public String getOrdercode() {
        return ordercode;
    }

    public RunfastBusinessComment withOrdercode(String ordercode) {
        this.setOrdercode(ordercode);
        return this;
    }

    public void setOrdercode(String ordercode) {
        this.ordercode = ordercode == null ? null : ordercode.trim();
    }

    public String getPic() {
        return pic;
    }

    public RunfastBusinessComment withPic(String pic) {
        this.setPic(pic);
        return this;
    }

    public void setPic(String pic) {
        this.pic = pic == null ? null : pic.trim();
    }

    public Integer getGoodssellrecordid() {
        return goodssellrecordid;
    }

    public RunfastBusinessComment withGoodssellrecordid(Integer goodssellrecordid) {
        this.setGoodssellrecordid(goodssellrecordid);
        return this;
    }

    public void setGoodssellrecordid(Integer goodssellrecordid) {
        this.goodssellrecordid = goodssellrecordid;
    }

    public Integer getAgentid() {
        return agentid;
    }

    public RunfastBusinessComment withAgentid(Integer agentid) {
        this.setAgentid(agentid);
        return this;
    }

    public void setAgentid(Integer agentid) {
        this.agentid = agentid;
    }

    public String getAgentname() {
        return agentname;
    }

    public RunfastBusinessComment withAgentname(String agentname) {
        this.setAgentname(agentname);
        return this;
    }

    public void setAgentname(String agentname) {
        this.agentname = agentname == null ? null : agentname.trim();
    }

    public String getShangstr() {
        return shangstr;
    }

    public RunfastBusinessComment withShangstr(String shangstr) {
        this.setShangstr(shangstr);
        return this;
    }

    public void setShangstr(String shangstr) {
        this.shangstr = shangstr == null ? null : shangstr.trim();
    }

    public Date getFeedtime() {
        return feedtime;
    }

    public RunfastBusinessComment withFeedtime(Date feedtime) {
        this.setFeedtime(feedtime);
        return this;
    }

    public void setFeedtime(Date feedtime) {
        this.feedtime = feedtime;
    }

    public String getRecontent() {
        return recontent;
    }

    public RunfastBusinessComment withRecontent(String recontent) {
        this.setRecontent(recontent);
        return this;
    }

    public void setRecontent(String recontent) {
        this.recontent = recontent == null ? null : recontent.trim();
    }

    public Date getRecreatetime() {
        return recreatetime;
    }

    public RunfastBusinessComment withRecreatetime(Date recreatetime) {
        this.setRecreatetime(recreatetime);
        return this;
    }

    public void setRecreatetime(Date recreatetime) {
        this.recreatetime = recreatetime;
    }

    public String getContent() {
        return content;
    }

    public RunfastBusinessComment withContent(String content) {
        this.setContent(content);
        return this;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getFeedback() {
        return feedback;
    }

    public RunfastBusinessComment withFeedback(String feedback) {
        this.setFeedback(feedback);
        return this;
    }

    public void setFeedback(String feedback) {
        this.feedback = feedback == null ? null : feedback.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", businessid=").append(businessid);
        sb.append(", businessname=").append(businessname);
        sb.append(", cost=").append(cost);
        sb.append(", createtime=").append(createtime);
        sb.append(", delicerid=").append(delicerid);
        sb.append(", delicername=").append(delicername);
        sb.append(", delicertime=").append(delicertime);
        sb.append(", ordertime=").append(ordertime);
        sb.append(", score=").append(score);
        sb.append(", userid=").append(userid);
        sb.append(", username=").append(username);
        sb.append(", goodssellid=").append(goodssellid);
        sb.append(", goodssellname=").append(goodssellname);
        sb.append(", ordercode=").append(ordercode);
        sb.append(", pic=").append(pic);
        sb.append(", goodssellrecordid=").append(goodssellrecordid);
        sb.append(", agentid=").append(agentid);
        sb.append(", agentname=").append(agentname);
        sb.append(", shangstr=").append(shangstr);
        sb.append(", feedtime=").append(feedtime);
        sb.append(", recontent=").append(recontent);
        sb.append(", recreatetime=").append(recreatetime);
        sb.append(", content=").append(content);
        sb.append(", feedback=").append(feedback);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}